package com.vcredit.creditcat.service;
import com.vcredit.creditcat.model.SmsPsendLog;
import com.vcredit.creditcat.persistence.base.SmsPsendLogMapper;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * 
 **/
@Service
public class SmsPsendLogService {
	@Autowired
    private SmsPsendLogMapper mapper;
    
    public void insert(SmsPsendLog obj){
    	mapper.insert(obj);
    }
    
    public void update(SmsPsendLog obj){
    	mapper.update(obj);
    }
    
    public List<SmsPsendLog> findAll(){
		return mapper.findAll();
	}
	
	public List<SmsPsendLog> find(SmsPsendLog obj){
		return mapper.find(obj);
	}

	public void updateStatusBySameOperateNo(String sameOperateNo) {
		mapper.updateStatusBySameOperateNo(sameOperateNo);
	}

	public List<SmsPsendLog> queryList() {
		return mapper.queryList();
	}
}